package com.homestead.exception;

/**
 * @author HanBin_Yang
 * @since 2021/3/28 18:51
 */
public class CouponVerificationException extends BusinessException {

    private static final long serialVersionUID = -2492682481650524255L;

    public CouponVerificationException(ResponseErrorCode errorCode) {
        super(errorCode.getCode(), errorCode.getMessage());
    }

    public CouponVerificationException(ResponseErrorCode errorCode, Throwable e) {
        super(errorCode.getCode(), errorCode.getMessage(), e);
    }
}
